import ElementPlus from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import "element-plus/dist/index.css";
import "element-plus/theme-chalk/dark/css-vars.css";
import { App } from "vue";
import Vue3DraggableResizable from "vue3-draggable-resizable";

//需引入默认样式
import "vue3-draggable-resizable/dist/Vue3DraggableResizable.css";
export const initPlugin = (app: App<Element>) => {
  app.use(ElementPlus, {
    locale: zhCn,
  });
  app.use(Vue3DraggableResizable);
};
